package cc.autoapi.pucong.auto.flow.core.flow.execNode.entity.node;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author pucong
 * @description 执行node信息
 * @create 2024-09-24
 */
@Data
@NoArgsConstructor
public class TaskNode implements Serializable {

    private static final long serialVersionUID = 1L;

    private String uuid;

    /**
     * 节点脚本
     */
    private String nodeScript;

    private String nodeName;
    private String nodeDesc;

    /**
     * 节点标签
     */
    private String nodeTag;

    private String nodeType;

    private String processId;

    /**
     * 参数类型 0静态值 1前置接口返回值 2全局参数
     */
    private Integer forDataType;

    /**
     * 循环执行的数据
     */
    private String forValue;

    /**
     * 是否异步执行
     */
    private Boolean forAsync;

    private List<TaskNodeParamIn> taskNodeParamInList;

    private List<TaskNodeParamOut> taskNodeParamOutList;
}
